package com.imcrl.effect.help
{
	import flash.display.Sprite;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.geom.Point;

	/**
	 * 控制点; 
	 * @author crl
	 * 
	 */	
	public class ControlePoint extends AnchorPoint
	{
		public var anchorH:AnchorPoint;
		public var anchorV:AnchorPoint;
		public function ControlePoint(x:int,y:int,hx:int,vy:int)
		{
			super(x,y);
			
			anchorH= new AnchorPoint(hx,0);
			anchorV= new AnchorPoint(0,vy);
		}
		
		public function set scaleX(value:Number):void{
			anchorH.scale=value;
		}
		
		public function set scaleY(value:Number):void{
			anchorV.scale=value;
		}
	}
}
